// Created by Xslt generator for Eclipse.
// XSL used : C:\eclipse\plugins\com.cross.easystruts.eclipse_0.6.4\xslt\JavaClass.xsl

package ro.gateway.aida.struts.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/** 
 * EditCategoryForm.java created by EasyStruts - XsltGen.
 * http://easystruts.sf.net
 * created on 10-09-2003
 * 
 * XDoclet definition:
 * @struts:form name="editCategoryForm"
 */
public class EditCategoryForm extends ActionForm {

	// --------------------------------------------------------- Instance Variables

	/** name property */
	private String name;

	/** id property */
	private int id;

	// --------------------------------------------------------- Methods

	/** 
	 * Method validate
	 * @param ActionMapping mapping
	 * @param HttpServletRequest request
	 * @return ActionErrors
	 */
	/*public ActionErrors validate(
		ActionMapping mapping,
		HttpServletRequest request) {

	}*/

	/** 
	 * Method reset
	 * @param ActionMapping mapping
	 * @param HttpServletRequest request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		name = "";
		id = 0;

	}



	/** 
	 * Returns the name.
	 * @return String
	 */
	public String getName() {
		return name;
	}

	/** 
	 * Set the name.
	 * @param name The name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/** 
	 * Returns the id.
	 * @return String
	 */
	public int getId() {
		return id;
	}

	/** 
	 * Set the id.
	 * @param id The id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

}
